#ifndef DIALOGCONFIG_H
#define DIALOGCONFIG_H

#include <QDialog>

namespace Ui {
class DialogConfig;
}

class DialogConfig : public QDialog
{
    Q_OBJECT

public:
    explicit DialogConfig(QWidget *parent = 0);
    ~DialogConfig();

    void setUser(const QString& user);

signals:
    void clickClearFreq();
    void clickClearProgram();
    void clickClearLoop();
    void clickReset();

private slots:
    void on_pushButtonFreq_clicked();

    void on_pushButtonProgram_clicked();

    void on_pushButtonLoop_clicked();

    void on_pushButtonReset_clicked();

    void on_pushButtonOK_clicked();

    void on_pushButtonCancel_clicked();

private:
    void showConfig();

private:
    Ui::DialogConfig *ui;
};

#endif // DIALOGCONFIG_H
